package com.jianbing.lakk.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jianbing.common.annotation.Excel;
import com.jianbing.common.core.domain.BaseEntity;

/**
 * lakk_tiku对象 lakk_questionbank
 * 
 * @author windbless
 * @date 2024-06-25
 */
public class LakkQuestionbank extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 天数 */
    @Excel(name = "天数")
    private Long daynumber;

    /** 题号 */
    @Excel(name = "题号")
    private Long questionnumber;

    /** 题面 */
    @Excel(name = "题面")
    private String questiontext;

    /** 选项 */
    @Excel(name = "选项")
    private String options;

    /** 正确答案 */
    @Excel(name = "正确答案")
    private String correctanswer;

    /** 难度归属 */
    @Excel(name = "难度归属")
    private String difficultylevel;

    /** 玩法题型 */
    @Excel(name = "玩法题型")
    private String questiontype;

    /** 奖励规则 */
    @Excel(name = "奖励规则")
    private String rewardrules;

    /** 创建时间 */
  @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationtime;

    public void setDaynumber(Long daynumber) 
    {
        this.daynumber = daynumber;
    }

    public Long getDaynumber() 
    {
        return daynumber;
    }
    public void setQuestionnumber(Long questionnumber) 
    {
        this.questionnumber = questionnumber;
    }

    public Long getQuestionnumber() 
    {
        return questionnumber;
    }
    public void setQuestiontext(String questiontext) 
    {
        this.questiontext = questiontext;
    }

    public String getQuestiontext() 
    {
        return questiontext;
    }
    public void setOptions(String options) 
    {
        this.options = options;
    }

    public String getOptions() 
    {
        return options;
    }
    public void setCorrectanswer(String correctanswer) 
    {
        this.correctanswer = correctanswer;
    }

    public String getCorrectanswer() 
    {
        return correctanswer;
    }
    public void setDifficultylevel(String difficultylevel) 
    {
        this.difficultylevel = difficultylevel;
    }

    public String getDifficultylevel() 
    {
        return difficultylevel;
    }
    public void setQuestiontype(String questiontype) 
    {
        this.questiontype = questiontype;
    }

    public String getQuestiontype() 
    {
        return questiontype;
    }
    public void setRewardrules(String rewardrules) 
    {
        this.rewardrules = rewardrules;
    }

    public String getRewardrules() 
    {
        return rewardrules;
    }
    public void setCreationtime(Date creationtime) 
    {
        this.creationtime = creationtime;
    }

    public Date getCreationtime() 
    {
        return creationtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("daynumber", getDaynumber())
            .append("questionnumber", getQuestionnumber())
            .append("questiontext", getQuestiontext())
            .append("options", getOptions())
            .append("correctanswer", getCorrectanswer())
            .append("difficultylevel", getDifficultylevel())
            .append("questiontype", getQuestiontype())
            .append("rewardrules", getRewardrules())
            .append("creationtime", getCreationtime())
            .toString();
    }
}
